package com.hlg.xboot.vo;

import com.hlg.xboot.enums.WhereType;

import java.util.Date;

/**
 * Created by tzw on 2017/7/13.
 */
public class QueryDateRangeVO {

    /**
     * 日期字段
     */
    private String field;

    /**
     * 日期值
     * values[0] : >=
     * values[1] : <=
     */
    private Date[] values;

    /**
     * 多个日期范围的条件类型
     * oper：1 => and
     * oper: 2 => or
     * @see WhereType
     */
    private Integer oper;

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Integer getOper() {
        return oper;
    }

    public void setOper(Integer oper) {
        this.oper = oper;
    }

    public Date[] getValues() {
        return values;
    }

    public void setValues(Date[] values) {
        this.values = values;
    }
}
